<template>
  <div class="curd">
    <span>{{ props.label }}</span>
    <slot></slot>
  </div>
</template>

<script setup>
const props = defineProps(["label"]);
</script>

<style scoped>
.curd {
  height: 47px;
  margin-top: 10px;
  margin-bottom:10px;
  width: 100%;
  display: flex;
  padding: 0;
  box-sizing: border-box;
  /* justify-content: space-between; */
}
.curd > span {
  width: 120px;
  line-height: 44px;
}
.curd > div {
  flex: 1;
  height: 42px;
  border-bottom: 1px solid #ccc;
}
</style>